
export const setToken = (key, token) => {
  localStorage.setItem(key, token)
}

export const getToken = (key) => {
  // 如果取之没取到则返回null
  return localStorage.getItem(key)
}

export const removeToken = (key) => {
  localStorage.removeItem(key)
}
